<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{:session('cp.cpsysname')}--商户管理平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="{:config('webconfig.description');}">
    <meta name="keywords" content="{:config('webconfig.keywords');}">
    <meta name="author" content="runoob">
    <link href="__STATIC_URL__/static/css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/index.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/css/cardinfo.css"/>
    <script src="__STATIC_URL__/static/js/jquery-2.1.4.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="__STATIC_URL__/static/bootstrap/3.3.7/js/bootstrap.min.js" type="text/javascript"
            charset="utf-8"></script>
    <script src="__STATIC_URL__/static/js/commen.js" type="text/javascript" charset="utf-8"></script>
    <style>
        .checkbox input[type="checkbox"], .checkbox input[type="radio"] {
            width: 18px;
            height: 18px;
            margin-top: 1px;
        }
    </style>
</head>
<body id="body">
{include file='public/header'/}
<!------------------导航-------------------------->
<section>
    {include file='public/left'/}
    <!--------------------------主要内容区域------------------------------------->
    <div class="content">
        <!--路径导航-->
        <ol class="breadcrumb mgl15 mgr15">
            <li>当前位置是:</li>
            <li>
                <a href="{:url('cardus/cardinfo',['card_id'=>$card['card_id']])}">会员卡</a>
            </li>
            <li class="active">分享配置</li>
        </ol>
        <!--创建会员卡主要内容-->
        <div class="card-content mgl15 mgr15 clearfix">
            <form class="form-horizontal ">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        会员卡分享配置
                    </div>
                    <div class="panel-body">
                        <div class="form-horizontal ng-scope" data-label="分享标题" data-layout="horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label ng-binding">分享标题</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name="title" placeholder="" required="required">
                                </div>
                            </div>
                        </div>
                        <div class="form-horizontal ng-scope" data-label="分享描述">
                            <div class="form-group">
                                <label class="col-sm-2 control-label ng-binding">分享描述</label>
                                <div class="col-sm-10">
                                    <textarea class="form-control" style="resize: none;" rows="4" maxlength="32" name="description" placeholder="" required="required"></textarea>
                                </div>
                            </div>
                        </div>
                        <div class="form-horizontal ng-scope" data-label="分享图标" data-layout="horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label ng-binding">分享图标</label>
                                <div class="col-sm-10">
                                    <div class="r-desc ng-binding ng-scope">为空时,则使用会员卡图标作为分享图标</div>
                                    <div class="image_property r-single ng-scope">
                                        <div>
                                            <span class="btn btn-default ng-scope">上传文件</span>
                                            <span class="btn btn-default hide">移除</span>
                                        </div>
                                       <img style="margin-top:10px; width:100px;height:100px;" class=" hide">
                                        <input type="text" name="pic" class="hide">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="form-horizontal ng-scope" data-label="奖励积分" data-layout="horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">奖励积分</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name="jifen" placeholder="">
                                    <div class="r-desc ng-binding ng-scope">被推荐人开卡后，推荐人奖励对应积分</div>
                                </div>
                            </div>
                        </div>
                        <div class="form-horizontal ng-scope" data-label="奖励储值" data-layout="horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label ng-binding">奖励储值</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control"  name="chuzhi"  placeholder="">
                                    <div class="r-desc ng-binding ng-scope">被推荐人开卡后，推荐人奖励对应储值，单位元
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="form-horizontal ng-scope" data-label="详细说明">
                            <div class="form-group">
                                <label class="col-sm-2 control-label ng-binding">详细说明</label>
                                <div class="col-sm-10">
                                    <textarea class="form-control" style="resize: none;" rows="4" name="shuoming" placeholder=""></textarea>
                                    <div class="r-desc ng-binding ng-scope" >被推荐人打开页面后将显示此说明</div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="panel-footer">
                        <a class="btn btn-success" ng-click="submit();">保存</a>
                    </div>
                </div>
            </form>
        </div>
        {include file='public/footer'/}
    </div>
</section>
</body>

</html>
